package com.neusoft.restaurant.service;



import com.neusoft.restaurant.entity.ResOrdersDetail;

import java.util.List;

/**
 * 订单明细Service接口
 * 
 * @author zhongda
 * @date 2023-12-10
 */
public interface IResOrdersDetailService
{
    /**
     * 查询订单明细
     * 
     * @param id 订单主键
     * @return 订单
     */
    public ResOrdersDetail selectResOrdersDetailById(Long id);

    /**
     * 查询订单详情列表
     * 
     * @param resOrdersDetail 订单
     * @return 订单集合
     */
    public List<ResOrdersDetail> selectResOrdersDetailList(ResOrdersDetail resOrdersDetail);

    /**
     * 新增订单详情
     * 
     * @param resOrdersDetail 订单
     * @return 结果
     */
    public int insertResOrdersDetail(ResOrdersDetail resOrdersDetail);

    /**
     * 修改订单详情
     * 
     * @param resOrdersDetail 订单
     * @return 结果
     */
    public int updateResOrdersDetail(ResOrdersDetail resOrdersDetail);

    /**
     * 批量删除订单详情
     * 
     * @param ids 需要删除的订单主键集合
     * @return 结果
     */
    public int deleteResOrdersDetailByIds(Long[] ids);

    /**
     * 删除订单信息
     * 
     * @param id 订单主键
     * @return 结果
     */
    public int deleteResOrdersDetailById(Long id);
}
